package com.yun.pojo;


import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class Message {
    
    private int Mid;
    private String subject;
    private String text;
    private String send;
    private String receive;
    private Date mDate;
    private String recipients;

    public Message(int mid, String subject, String text, String send, String receive, String recipients) {
        Mid = mid;
        this.subject = subject;
        this.text = text;
        this.send = send;
        this.receive = receive;
        this.recipients = recipients;
        this.mDate = new Date();
    }
}
